package com.xuecheng.content.model.dto;

import com.xuecheng.content.model.po.CourseCategory;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description: 课程分类树型结点dto
 * User: ws
 * Date: 2024-06-10
 * Time: 17:56
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class CourseCategoryTreeDto extends CourseCategory implements Serializable {
    /**
     * 补充查询缺少的属性
     */
    @ApiModelProperty("子菜单")
    List<CourseCategoryTreeDto> childrenTreeNodes;
}
